package com.ruoyi.quartz.task;

import org.springframework.stereotype.Component;

import com.ruoyi.quartz.domain.ReturnJson;
import com.ruoyi.quartz.task.base.BaseJob;

import lombok.extern.slf4j.Slf4j;

/**
 * 数据同步JOB
 * @author admin
 *
 */
@Slf4j
@Component 
public class TestJob extends BaseJob{
	
	
	@Override
	public String getJobName() {
		return this.getClass().getSimpleName();
	}
	
	@Override
	public ReturnJson doWork() {
		System.out.println("========================");
		System.out.println(System.currentTimeMillis());
		
		return null;
	}

	
}